﻿var express = require('express');
var router = express.Router();
var request = require("request");

/* GET users listing. */
router.get('/getalertdata', function (req, res) {
    var url = "http://12345web.gzonline.gov.cn/gzweb12345/appeal/index.jsp?requestTopic=&orderStatus=&orderType=&requestDeptname=&startDate=&endDate=&keyWords=&page=1";

   
    //构建请求url
    var options = {
        method: 'GET',
        url: url
    };

    request(options, function (error, response, body) {
        
    });

    res.send('respond with a resource');
});

module.exports = router;